#ifndef ENM_PRIVATE_H_
# define ENM_PRIVATE_H_

struct _Enm_Server
{
   void *data;
   Ecore_Con_Server *svr;
};

Eet_Data_Descriptor *unified;

Eina_Bool _enm_ecorecon_server_connected(void *data, int type, Ecore_Con_Event_Server_Add *ev);
Eina_Bool _enm_ecorecon_server_disconnected(void *data, int type, Ecore_Con_Event_Server_Del *ev);
Eina_Bool _enm_ecorecon_server_data(void *data, int type, Ecore_Con_Event_Server_Data *ev);

Eina_Bool _enm_ecorecon_client_connected(void *data, int type, Ecore_Con_Event_Server_Add *ev);
Eina_Bool _enm_ecorecon_server_disconnected(void *data, int type, Ecore_Con_Event_Server_Del *ev);
Eina_Bool _enm_ecorecon_server_data(void *data, int type, Ecore_Con_Event_Server_Data *ev);

static Eina_Bool _enm_eet_read_cb(const void *eet_data, size_t size, void *user_data);
static Eina_Bool _enm_eet_write_cb(const void *data, size_t size, void *user_data);

Eina_Bool _enm_eet_init(void);
static Eina_Bool _enm_eet_type_set(const char *type, void *data, Eina_Bool unknow);
static const char *_enm_eet_type_get(const void *data, Eina_Bool *unknow);

#endif
